package com.ccys.db.vo.masterData;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: WhiteCoat
 * @description: 公共假日分页查询返回VO
 * @author: ZhangJingCan
 * @create: 2023-12-11 15:24
 **/

@Data
@ApiModel("公共假日分页查询返回VO")
public class CountryHolidayQueryPageVo {

    @ApiModelProperty(value = "id", name = "id", example = "id")
    private String id;

    @ApiModelProperty(value = "公共假日名称", name = "holidayName", example = "公共假日名称")
    private String holidayName;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "公共假日开始时间", name = "holidayStartDate", example = "公共假日开始时间")
    private Date holidayStartDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "公共假日结束时间", name = "holidayEndDate", example = "公共假日结束时间")
    private Date holidayEndDate;

    @ApiModelProperty(value = "国家名称", name = "countryNames", example = "国家名称")
    private String countryNames;

    @ApiModelProperty(value = "状态", name = "status", example = "状态:0-禁用，1-启用")
    private Integer status;

    @ApiModelProperty(value = "创建人", name = "createdByName", example = "创建人")
    private String createdByName;

    @ApiModelProperty(value = "创建时间", name = "createdOn", example = "创建时间")
    private Long createdOnUtc;

    @ApiModelProperty(value = "国家ids")
    private String countryIds;

}
